<template>
  <div>
    <video v-if="src" :src="src" width="820px" controls="controls">
    </video>
  </div>
</template>
<script>
export default {
  name: 'association',
  data () {
    return {
      src: ''
    }
  },
  components: {
  },
  computed: {
  },
  created () {
    this.queryBimVideo()
  },
  methods: {
    queryBimVideo () {
      this.$http.queryUploadObjs({}, 'YUNZHIBO').then(res => {
        if (res.data && res.data.length) {
          this.src = `${process.env.VUE_APP_SRC}${res.data[0].down_url}`
        }
      })
    }
  }
}
</script>
<style lang="scss">
</style>
